package com.yic.module.device.controller.admin.faulthandle.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import java.time.LocalDateTime;
import java.time.LocalDateTime;
import java.math.BigDecimal;
import java.time.LocalDateTime;
import java.time.LocalDateTime;

import com.alibaba.excel.annotation.ExcelProperty;
import com.yic.framework.excel.core.annotations.DictFormat;
import com.yic.framework.excel.core.convert.DictConvert;


/**
 * 设备报修处理 Excel VO
 *
 * @author 系统管理员
 */
@Data
public class FaultHandleExcelVO {

    @ExcelProperty("主键")
    private Long id;

    @ExcelProperty("报修工单")
    private Long faultId;

    @ExcelProperty(value = "故障类型", converter = DictConvert.class)
    @DictFormat("device_fault_category") // TODO 代码优化：建议设置到对应的 XXXDictTypeConstants 枚举类中
    private Integer type;

    @ExcelProperty(value = "故障等级", converter = DictConvert.class)
    @DictFormat("device_fault_grade") // TODO 代码优化：建议设置到对应的 XXXDictTypeConstants 枚举类中
    private Integer grade;

    @ExcelProperty("故障原因")
    private String reason;

    @ExcelProperty("处理方法")
    private String handleMethod;

    @ExcelProperty("处理人")
    private Long handleUser;

    @ExcelProperty("创建时间")
    private LocalDateTime createTime;

}
